﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;

namespace SportsStore.WebUI.HTMLHelpers
{
    public static class TexboxHelper
    {
        public static MvcHtmlString TexboxBruno(
    this HtmlHelper html, String name, String labelText, String textContent)
        {

            String a;

            a = "<br>";
            a =a + html.Label("lbl" + name,labelText);
            a =a + html.TextBox("txt" + name, textContent);
            
            return new MvcHtmlString(a);
        }
    }
}

